package com.dao;


import com.bean.Orders;
import com.bean.Role;
import com.bean.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author Samsara
* @description 针对表【user】的数据库操作Mapper
* @createDate 2023-01-18 03:31:01
* @Entity generator.domain.User
*/
public interface UserMapper  {

    Integer insertBatch(List<User> userList);

    Integer updateBatch(List<User> userList);

    Integer deleteBatch(List<User> userList);

    List<User> selectUserList(@Param("list") List<User> userList,@Param("start")Integer start,@Param("end")Integer end);

    List<User> selectUserListAndRoleList(@Param("list")List<User> userList, @Param("start")Integer start, @Param("end")Integer end);

    List<User> selectUserListAndOrderList(@Param("list")List<User> userList, @Param("start")Integer start, @Param("end")Integer end);

    List<User> selectUserListAndSeckillList(@Param("list")List<User> userList, @Param("start")Integer start, @Param("end")Integer end);
}
